package com.secsys.model;

import java.util.Date;

/**
 * 上市公司资产情况(资产与负债)表【六】tb_sto_finance_asset_debt
 * 记录上市公司“资产与负债”情况，包括：资产总额，负债总额、流动负债、长期负债、货币资金等
 *@作者 tiger.hu.tiger@gmail.com
 *@创建日期 2011-5-1
 *@版本1.0
 */
public class TbStoFinanceassetdebt implements java.io.Serializable {

	// Fields

	private static final long serialVersionUID = -8930827801027552124L;
	private Integer id;
	private TbStoStock tbStoStock;
	private Date fieldDate;
	private Double totalAsset;
	private Double totalIndebted;
	private Double flowIndebted;
	private Double longTermIndebted;
	private Double coinFund;
	private Double accountReceivable;
	private Double accountReceivableOther;
	private Double badAccountReady;
	private Double partnerProfit;

	// Constructors

	/** default constructor */
	public TbStoFinanceassetdebt() {
	}

	/** minimal constructor */
	public TbStoFinanceassetdebt(TbStoStock tbStoStock, Date fieldDate) {
		this.tbStoStock = tbStoStock;
		this.fieldDate = fieldDate;
	}

	/** full constructor */
	public TbStoFinanceassetdebt(TbStoStock tbStoStock, Date fieldDate,
			Double totalAsset, Double totalIndebted, Double flowIndebted,
			Double longTermIndebted, Double coinFund, Double accountReceivable,
			Double accountReceivableOther, Double badAccountReady,
			Double partnerProfit) {
		this.tbStoStock = tbStoStock;
		this.fieldDate = fieldDate;
		this.totalAsset = totalAsset;
		this.totalIndebted = totalIndebted;
		this.flowIndebted = flowIndebted;
		this.longTermIndebted = longTermIndebted;
		this.coinFund = coinFund;
		this.accountReceivable = accountReceivable;
		this.accountReceivableOther = accountReceivableOther;
		this.badAccountReady = badAccountReady;
		this.partnerProfit = partnerProfit;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public TbStoStock getTbStoStock() {
		return this.tbStoStock;
	}

	public void setTbStoStock(TbStoStock tbStoStock) {
		this.tbStoStock = tbStoStock;
	}

	/**
	 * 时间
	 * @return
	 */
	public Date getFieldDate() {
		return fieldDate;
	}

	/**
	 * 时间
	 * @return
	 */
	public void setFieldDate(Date fieldDate) {
		this.fieldDate = fieldDate;
	}

	/**
	 * 资产总额(万元)
	 * @return
	 */
	public Double getTotalAsset() {
		return totalAsset;
	}

	/**
	 * 资产总额(万元)
	 * @return
	 */
	public void setTotalAsset(Double totalAsset) {
		this.totalAsset = totalAsset;
	}

	/**
	 * 负债总额(万元)
	 * @return
	 */
	public Double getTotalIndebted() {
		return totalIndebted;
	}

	/**
	 * 负债总额(万元)
	 * @return
	 */
	public void setTotalIndebted(Double totalIndebted) {
		this.totalIndebted = totalIndebted;
	}

	/**
	 * 流动负债(万元)
	 * @return
	 */
	public Double getFlowIndebted() {
		return flowIndebted;
	}

	/**
	 * 流动负债(万元)
	 * @return
	 */
	public void setFlowIndebted(Double flowIndebted) {
		this.flowIndebted = flowIndebted;
	}

	/**
	 * 长期负债(万元)
	 * @return
	 */
	public Double getLongTermIndebted() {
		return longTermIndebted;
	}

	/**
	 * 长期负债(万元)
	 * @return
	 */
	public void setLongTermIndebted(Double longTermIndebted) {
		this.longTermIndebted = longTermIndebted;
	}

	/**
	 * 货币资金(万元)
	 * @return
	 */
	public Double getCoinFund() {
		return coinFund;
	}

	/**
	 * 货币资金(万元)
	 * @return
	 */
	public void setCoinFund(Double coinFund) {
		this.coinFund = coinFund;
	}

	/**
	 * 应收帐款(万元)
	 * @return
	 */
	public Double getAccountReceivable() {
		return accountReceivable;
	}

	/**
	 * 应收帐款(万元)
	 * @return
	 */
	public void setAccountReceivable(Double accountReceivable) {
		this.accountReceivable = accountReceivable;
	}

	/**
	 * 其他应收款(万元)
	 * @return
	 */
	public Double getAccountReceivableOther() {
		return accountReceivableOther;
	}

	/**
	 * 其他应收款(万元)
	 * @return
	 */
	public void setAccountReceivableOther(Double accountReceivableOther) {
		this.accountReceivableOther = accountReceivableOther;
	}

	/**
	 * 坏帐准备(万元)
	 * @return
	 */
	public Double getBadAccountReady() {
		return badAccountReady;
	}

	/**
	 * 坏帐准备(万元)
	 * @return
	 */
	public void setBadAccountReady(Double badAccountReady) {
		this.badAccountReady = badAccountReady;
	}

	/**
	 * 股东权益(万元)
	 * @param badAccountReady
	 */
	public Double getPartnerProfit() {
		return partnerProfit;
	}

	/**
	 * 股东权益(万元)
	 * @param badAccountReady
	 */
	public void setPartnerProfit(Double partnerProfit) {
		this.partnerProfit = partnerProfit;
	}

	@Override
	public String toString() {
		String result="id="+id+";accountReceivable="+accountReceivable+";accountReceivableOther="+accountReceivableOther+
					";badAccountReady="+badAccountReady+";coinFund="+coinFund+";flowIndebted="+flowIndebted+";=longTermIndebted"+longTermIndebted
					+";partnerProfit="+partnerProfit+";totalAsset="+totalAsset+";=totalIndebted";
		return result;
	}

}